export interface Fn<T = any, R = T> {
    (...arg: T[]): R
}

export type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
export type Nullable<T> = T | null